<template>
  <div class="w-full h-svh">
    <div class="w-full h-[50px] bg-purple-400 *:h-full flex justify-between" ref="home_ref">
      <home-header />
    </div>
    <div class="h-[95%] flex">
      <div class="w-[190px] h-full overflow-auto">
        <el-scrollbar height="100%">
          <home-side />
        </el-scrollbar>
      </div>
      <div class="w-[1520px] h-full">
        <home-main />
      </div>
    </div>
  </div>
</template>

<script setup>
import { onMounted, provide, ref } from 'vue'
import { useIndexStore } from '../store/index'
import HomeHeader from "../components/home-header.vue";
import HomeSide from "../components/home-side.vue";
import HomeMain from "../components/home-main.vue";
import { storeToRefs } from 'pinia';
const store = useIndexStore();
<<<<<<< HEAD
const { home_ref } = storeToRefs(store)

onMounted(() => {
  store.home_ref.style = `background:${JSON.parse(localStorage.getItem('navBackgroundColor'))}`
})
</script>
<style>
.w-\[1520px\] {
  width: 100%;
}
</style>
=======

const a = location.href.split('?')[1]
</script>
>>>>>>> 74080eb60a9ea721cf71ba62facd41c10238140e
